Fix reboot logic. An indentation error meant that every second reboot would
authoremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Fri, 28 Oct 2005 12:02:06 +0000 (13:02 +0100)
committeremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Fri, 28 Oct 2005 12:02:06 +0000 (13:02 +0100)
commit8c48c9e2ad06aa8d2d5faee7fe5c52a4a82a3df5
treeea7ac6faf3791a6a9c63383e8fc8d28d0baaabd3
parentf76bd5cf5e9e56b46c8c5acb595dbec6b842c34d
Fix reboot logic.  An indentation error meant that every second reboot would
be refused, with the domain being destroyed instead.

Further fix for reboot logic when using on_reboot=rename-restart: the incorrect
node was being removed once restart has completed, leaving Xend to conclude
later that it had crashed in the middle of a restart.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xend/XendDomainInfo.py